package com.glls.order.feign;

import com.glls.common.vo.OrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "service-stock")
public interface StockApi {

    @PostMapping("/stock/updateStock")
    public int updateStock(@RequestBody OrderVo order);

}
